import 'package:flutter/material.dart';
import 'package:ui_demo/custom_webp/CustomWebpPage.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: Scaffold(
          appBar: AppBar(
            backgroundColor: Theme.of(context).colorScheme.inversePrimary,
            title: const Text("ListViewDemo"),
          ),
          body: const Column(
            mainAxisSize: MainAxisSize.max,
            children: [
              // CustomWebpPage()
              Expanded(child: GifPlayerDemo())
            ],
          ),
        ));
  }
}
